package com.rc.pojo.vo.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.common.model.ImageModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
@Data
public class ActivityListVO  {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("活动名称")

    private String title;
    @ApiModelProperty("封面")
    private List<ImageModel> imgs;

    private String description;

    @ApiModelProperty("内容")
    private String content;

    private Boolean isEnd;

    @JsonFormat(pattern = "M月dd日")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "M月dd日")
    private LocalDateTime endTime;
}
